package edu.sctu.nieyu.day20150508;

/**
 * Created by Administrator on 2015/5/8/0008.
 */
public class TextTwo{
    public int  counter(int a){
        int sum = 0;
        for (int i = 0; i <a  ; i++) {
            sum+=i  ;

        }
      return sum;
    }


}
